package rmi;

import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.List;

public interface WareHouse extends Remote {

    public List<Product> getProductsList() throws RemoteException;

    public int addNewOrder(String clientName) throws RemoteException;

    public boolean addOrderItem(OrderItem oi) throws RemoteException;

    public String getOrderSummary(String clientName, int orderNr) throws RemoteException;

    public boolean confirmOrder(String clientName, int orderNr) throws RemoteException;
}
